<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!--#include file="ClassFun.asp"-->
<%call chkAdmin("|9") %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>栏目管理</title>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<link href="images/style.css" type=text/css rel=stylesheet>
<SCRIPT>
function SelAll(theForm){
  for ( i = 0 ; i < theForm.elements.length ; i ++ )
  {
	  if ( theForm.elements[i].type == "checkbox" && theForm.elements[i].name != "selall" )
	  {
		  theForm.elements[i].checked = ! theForm.elements[i].checked ;
	  }
  }
}
<!-- 
function CheckAll(theForm){ 
 for (var i=0;i<eval(theForm.elements.length);i++){ 
  var e=theForm.elements[i]; 
  if (e.name!="allbox") e.checked=theForm.allbox.checked; 
 } 
} 
--> 
</SCRIPT>
<BODY>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#cccccc">
  <tr>
    <td height="30" class="topnav"><div>栏目管理</div>
       </td>
  </tr>
  <tr>
    <td bgcolor="#ffffff">
    <form name="" action="" method="post">
        <table width="100%" border=0 align=center cellpadding=3 cellspacing=0 class="stable">
      <thead>
      <tr bgcolor="#eeeeee">
        <td width=53 align="center" class=td>选择</td>
        <td width=52 align="center" class=td>编号</td>
        <td height=33 align="center" colspan="2" class=td>栏目名称</td>
        <td width=101 align="center" class=td>类型</td>
        <td width=101 align="center" class=td>模板</td>
        <td width=187 align="center" class=td>链接</td>
        <td width=88 align="center" class=td>排序</td>
        <td width=89 align="center" class=td>状态</td>
        <td width=212 align="center" class=td>操作</td>
        </tr></thead>
        <%sortlist("0")%>
        <tr>
        <td align="center"><input onClick="CheckAll(this.form)" type="checkbox" value="1" name="allbox"></td>
        <td align="center">全选</td>
        <td colspan="8">
            <input class="btn" type="submit" value="删 除" onClick="if(confirm('确定要删除吗')){form.action='?action=del';}else{return false};"/>  
            <input class="btn" type="submit" value="禁 用" onClick="form.action='?action=off';"./>
            <input class="btn" type="submit" value="启 用" onClick="form.action='?action=on';"/>
            <input class="btn" type="submit" value="保 存" onClick="form.action='admin_class.asp?action=saveall';"/>
            移动到:<%loadselect "movesortid","zych_type","sortname","sortid",getform("id","get"), 0," order by px_id","顶级分类",0,""%>
            <input class="btn" type="submit" value="移 动" onClick="form.action='?action=move';"/></div></td>
        </tr></table>
    </form>
</td>
  </tr>
</table>
<%call Footer%>
</BODY>
</HTML>
